<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link type="text/css" rel="stylesheet" href="${ctx}/MAdmin/vendors/bootstrap/css/bootstrap.min.css">
<link type="text/css" rel="stylesheet" href="${ctx}/MAdmin/css/themes/style1/orange-blue.css" class="default-style">
<script src="${ctx}/MAdmin/js/jquery-1.10.2.min.js"></script>
<!-- 表格 -->
<link  href="${ctx}/MAdmin/vendors/DataTables/media/css/jquery.dataTables.css" type="text/css" rel="stylesheet" >
<link  href="${ctx}/MAdmin/vendors/DataTables/media/css/dataTables.bootstrap.css" type="text/css" rel="stylesheet"  >
<script src="${ctx}/MAdmin/vendors/DataTables/media/js/jquery.dataTables.js"></script>
<script src="${ctx}/MAdmin/vendors/DataTables/media/js/dataTables.bootstrap.js"></script>
<!-- 隐藏DIV -->
<script src="${ctx}/MAdmin/vendors/bootstrap/js/bootstrap.min.js"></script>
<!-- 下拉框 -->
<link type="text/css" rel="stylesheet" href="${ctx}/MAdmin/vendors/select2/select2-madmin.css">
<link type="text/css" rel="stylesheet" href="${ctx}/MAdmin/vendors/bootstrap-select/bootstrap-select.min.css">
<link type="text/css" rel="stylesheet" href="${ctx}/MAdmin/vendors/multi-select/css/multi-select-madmin.css">
<script src="${ctx}/MAdmin/vendors/select2/select2.min.js"></script>
<script src="${ctx}/MAdmin/vendors/bootstrap-select/bootstrap-select.min.js"></script>
<script src="${ctx}/MAdmin/vendors/multi-select/js/jquery.multi-select.js"></script>
<!-- 提示框 -->
<link  href="${ctx}/MAdmin/vendors/jquery-toastr/toastr.min.css" type="text/css" rel="stylesheet" >
<script src="${ctx}/MAdmin/vendors/jquery-toastr/toastr.min.js"></script>
<!-- page js -->
<script src="${ctx}/js/custom-jsutil.js"></script><!-- 自定义通用工具 -->
<script src="${ctx}/js/sys_user.js"></script>
<script type="text/javascript">$.ctx = "${ctx}";</script>
</head>
<body>
<div class="page-content">
	<!-- 页面按钮By用户权限 -->${SECURITYBUTTONFORPAGEBYUSERROLE}
	<table id="tableinfo" class="table table-hover table-striped table-bordered table-advanced tablesorter display">
		<thead>
		<tr>
		<th style="width:3%;"></th>
        <th>账号</th>
        <th>用户名称</th>
        <th>账号状态</th>
        <th>拥有权限</th>
        <th>操作</th>
		</tr>
		</thead>
	</table>
</div>

<!--新增用户界面-->
<div id="saveSysRolePage" tabindex="-1" role="dialog" aria-labelledby="modal-responsive-label" aria-hidden="true" class="modal fade">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" data-dismiss="modal" aria-hidden="true" class="close">&times;</button>
                <h4 id="fm-modal-label" class="modal-title"></h4>
            </div>
            <div class="modal-body">
                <form id="fm" method="post" class="form-horizontal">
	                <div class="form-body pal">
	                    <div class="form-group">
	                        <label for="inputEmail" class="col-md-3 control-label">账号：</label>
	                        <div class="col-md-9">
	                            <div class="input-group">
	                            	<input type="hidden" id="userid" >
	                                <input type="text" id="account" name="account" placeholder="例子：普通用户" class="form-control">
	                            </div>
	                        </div>
	                    </div>
	                    <div class="form-group">
	                        <label for="inputAddress" class="col-md-3 control-label">用户名称：</label>
	                        <div class="col-md-9">
	                            <div class="input-group">
	                                <input type="text" id="name" name="name" placeholder="例子：ROLE_USER" class="form-control">
	                            </div>
	                        </div>
	                    </div>
	                    <div class="form-group">
	                        <label for="inputAddress" class="col-md-3 control-label">密码：</label>
	                        <div class="col-md-9">
	                            <div class="input-group">
	                                <input type="text" id="password" name="password" value="123456" class="form-control">
	                            </div>
	                        </div>
	                    </div>
	                    <div class="form-group">
	                        <label for="inputAddress" class="col-md-3 control-label">权限：</label>
	                        <div class="col-md-9">
                               <select id="user-role-selecte"  multiple="multiple">
                               </select>
                           </div>
	                    </div>
	                </div>
	            </form>
            </div>
            <div class="modal-footer">
                <button type="button" data-dismiss="modal" class="btn btn-default">关闭</button>
                <button type="button" class="btn btn-primary" onclick="save();">保存</button>
            </div>
        </div>
    </div>
</div>
</body>
</html>